crypto/tls.clientHelloMsg.encryptedClientHello (field)
16 uses
crypto/tls (current package)
ech.go#L380: if !bytes.Equal(inner.encryptedClientHello, []byte{uint8(innerECHExt)}) {
ech.go#L440: outer.encryptedClientHello, err = generateOuterECHExt(ech.config.ConfigID, ech.kdfID, ech.aeadID, encapKey, make([]byte, encryptedLen))
ech.go#L453: outer.encryptedClientHello, err = generateOuterECHExt(ech.config.ConfigID, ech.kdfID, ech.aeadID, encapKey, encryptedInner)
ech.go#L571: echType, echCiphersuite, configID, encap, payload, err := parseECHExt(outer.encryptedClientHello)
handshake_client.go#L226: hello.encryptedClientHello = []byte{1} // indicate inner hello
handshake_client.go#L398: echInner := bytes.Equal(hello.encryptedClientHello, []byte{1})
handshake_messages.go#L99: encryptedClientHello []byte
handshake_messages.go#L165: if len(m.encryptedClientHello) > 0 {
handshake_messages.go#L168: exts.AddBytes(m.encryptedClientHello)
handshake_messages.go#L666: if !extData.ReadBytes(&m.encryptedClientHello, len(extData)) {
handshake_messages.go#L715: encryptedClientHello: slices.Clone(m.encryptedClientHello),
handshake_server.go#L151: if len(clientHello.encryptedClientHello) != 0 {
handshake_server_tls13.go#L605: if len(clientHello.encryptedClientHello) == 0 {
handshake_server_tls13.go#L610: echType, echCiphersuite, configID, encap, payload, err := parseECHExt(clientHello.encryptedClientHello)
handshake_server_tls13.go#L803: if len(hs.c.config.EncryptedClientHelloKeys) > 0 && len(hs.clientHello.encryptedClientHello) > 0 && hs.echContext == nil {